package com.googlecode.ocl2sqlcompiler;

/**
 * @author Renato Miceli
 */
public class OCLMethod {

	public String name;
	public OCLType returnType;
	public ParamList parameters;

	public OCLMethod(String name, OCLType returnType, ParamList list) {
		this.name = name;
		this.returnType = returnType;
		parameters = list;
	}

	public OCLMethod(String name, OCLType returnType, OCLSemanticObject<String>... list) {
		this(name, returnType, new ParamList(list));
	}

}
